package com.freecloud.spring.common;

/**
 * @Author: maomao
 * @Date: 2021-05-17 13:33
 */
public abstract class BaseController {

    protected ResponseBody success() {
        return new ResponseBody().success();
    }

    protected <T> ResponseBody<T> success(T data) {
        return new ResponseBody().success().data(data);
    }
}
